GXSetInkAttributes
You can use theGXSetInkAttributes
function to set or clear the attributes of an ink object.
void GXSetInkAttributes(gxInk target, gxInkAttribute attributes);
target
- A reference to the ink object to change the attributes of.
attributes
- The new ink attributes to be assigned.
DESCRIPTION
TheGXSetInkAttributes
function sets the attributes of the ink object referenced in thetarget
parameter to those specified in theattributes
parameter. If you passgxNoAttributes
for theattributes
parameter, all attributes are cleared.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory ink_is_nil parameter_out_of_range (debugging version) Notices (debugging version) attributes_already_set SEE ALSO
Ink attributes are described in the section "Ink Attributes" beginning on page 5-9.To examine the attributes of an ink object, use the
GXGetInkAttributes
function, described in the previous section.To change the attributes of the ink object associated with a specified shape, use the
GXSetShapeInkAttributes
function, described on page 5-63.